package com.ticket.sass.admin.business;


import com.ticket.sass.admin.dto.input.coupons.CouponAddInput;
import com.ticket.sass.admin.dto.input.coupons.CouponListInput;
import com.ticket.sass.admin.dto.input.coupons.CouponUpdInput;
import com.ticket.sass.admin.dto.output.coupons.CouponListOutput;
import com.ticket.sass.admin.dto.output.coupons.CouponOutput;
import com.ticket.sass.admin.model.PageModel;

/**
 * @author ywb
 * @date 2021-11-15 15:43
 */
public interface CouponBusiness {

    PageModel<CouponListOutput> list(CouponListInput input);

    void add(CouponAddInput input);

    void upd(CouponUpdInput input);
    
    CouponOutput find(Long id);
}
